﻿CREATE TABLE [dbo].[SistemeUtilizatori] (
    [IDSistem]   INT NOT NULL,
    [IDPersoana] INT NOT NULL,
    CONSTRAINT [PK_SistemeUtilizatori] PRIMARY KEY CLUSTERED ([IDSistem] ASC, [IDPersoana] ASC),
    CONSTRAINT [FK_SistemeUtilizatori_Persoane] FOREIGN KEY ([IDPersoana]) REFERENCES [dbo].[Persoane] ([IdPersoana]),
    CONSTRAINT [FK_SistemeUtilizatori_Sisteme] FOREIGN KEY ([IDSistem]) REFERENCES [dbo].[Sisteme] ([IDSistem])
);

